#content {
    position:absolute;
    padding-top:50px;
    width:100%;
    height:100%;
    z-index:1;
}
#paper {
    width:600px;
    height:1000px;
    /*margin:-375px 0 0 -215px;*/
    /*-webkit-transform:scale(0.25,0.25);*/
}
#addPageBtn {
    position:absolute;
    bottom:0px;
    width:100%;
    height:50px;
    color:#FFF;
    line-height:50px;
    text-align:center;
    font-size:50px;
    background:black;
    z-index:1000;
}
body {
    width:100%;
    height:100%;
    overflow:hidden;
    font-family:"Microsoft YaHei" ! important;
}
header {
    position:absolute;
    width:100%;
    height:50px;
    background:#000;
    line-height:50px;
    font-size:20px;
    color:white;
    z-index:2;
}
header span {
    position:absolute;
    left:20px;   
}
header .tools {
    width:400px;
    overflow:hidden;
    margin:0 auto;  
}
header .tools .tool {
	margin-top:4px;
	margin-left:50px;
	float:left;
    width:50px;
    height:44px;
    background:url(../images/res.svg);
    cursor:pointer;
}
header .tools .addText {
    background-position:0 0;
}
header .tools .addText:hover {
	background-position: 0 -120px;
}
header .tools .addImage {
    background-position:-80px 0;
}
header .tools .addImage:hover {
	background-position: -80px -120px;
}
#leftframe {
   position:relative;
   height:100%;
   padding-left:0px; 
   cursor:pointer;
}
#leftframe .pagesContent {
    width:170px;
    height:100%;
    position:relative;
}
#leftframe .pagesContent .pages {
    width:100%;
    height:95%;
    margin:0px;
    padding:0px;
    overflow:hidden;
}
#leftframe .pagesContent .pages .page {
    width:100%;
    height:154px;
    padding:0px 0 0 10px;
    overflow:hidden;
    position:relative;
}
#leftframe .pagesContent .pages .page:hover {
     background:rgba(57,187,170,1);
}
#leftframe .pagesContent .pages .page:hover .number{
	 color:#FFF;
}
#leftframe .pagesContent .pages .page .paper {
    width:300px;
    height:470px;
    -webkit-transform: scale(0.283, 0.285); 
    margin: -178.5px 0px 0px -107.5px;
}
#leftframe .pagesContent .pages .page .paper .thumb_page{
    position:relative;
    background:#FFF;
    width:300px;
    height:470px;
    overflow:hidden;
}
#leftframe .pagesContent .pages .page .number {
    width:20px;
    height:85px;
    line-height:85px;
    font-size:30px;
    position:absolute;
    text-align:center;
    top:20%;
    left:65%;
    z-index:2;
}
#leftframe .pagesContent .pages .page .uparraw {
    position:absolute;
    top:20%;
    left:65%;
    width:20px;
    height:20px;
    background:url(../images/res.svg);
    background-position:0px -380px;
    z-index:3;
}
#leftframe .pagesContent .pages .page .downarraw {
    position:absolute;
    top:60%;
    left:65%;
    width:20px;
    height:20px;
    background:url(../images/res.svg);
    background-position:-100px -380px;
    z-index:3;
}
.active {
     background:rgba(57,187,170,1);
}
.active:hover {
     opacity:0.9;
}
.active .number {
	color:#FFF;
}
.notactive {
     background:rgb(230,230,230);;
}
.notactive .number {
	color:#7F7F7F;
}
#centerframe {
    position:relative;
    height:100%;
}
#centerframe #canvas {
    position:absolute;
}
#centerframe #canvas #pageWrap > div:hover {
    box-shadow:0 0 10px rgba(0, 125, 252, 0.901961);
}
#centerframe #canvas #pageWrap > div {
    position:relative;
    width:300;
    height:470px;
    overflow:hidden;
    border:rgba(0, 125, 252, 0.901961) solid 2px;
}
#centerframe #canvas #pageWrap > div > div {
    cursor:pointer;
}
#centerframe #canvas #pageWrap > div > div:hover > div[index] { 
    border:2px dashed blue;
}
#centerframe #canvas #pageWrap > div > .gridContent {
    position:absolute;
    left:0px;
    top:0px;
    width:100%;
    height:100%;
}
#centerframe #canvas #pageWrap > div > .gridContent .gridItemHor {
	position:absolute;
    width:0px;
    height:100%;
    z-index:1000;
    border-left:3px dashed rgba(57,187,170,1);
}
#centerframe #canvas #pageWrap > div > .gridContent .gridItemVer {
	position:absolute;
    width:100%;
    height:0px;
    z-index:1000;
    border-top:3px dashed rgba(57,187,170,1);
}
#centerframe .operatePage {
	position:absolute;
	top:50%;
	right:0px;
}
#centerframe .operatePage .grid {
	width:100px;
	height:30px;
	cursor:pointer;
	background:url(../images/res.svg);
	background-position: -0px -220px;
}
#centerframe .operatePage .grid:hover {
	background-position: -100px -220px;
}
#centerframe .operatePage .gridActive {
	background-position: -100px -220px;
}
#centerframe .operatePage .copyPage {
	width:100px;
	height:30px;
	margin-top:10px;
	cursor:pointer;
	background:url(../images/res.svg);
	background-position: -0px -260px;
}
#centerframe .operatePage .copyPage:hover {
	background-position: -100px -260px;
}
#centerframe .operatePage .delePage {
	width:100px;
	height:30px;
	margin-top:10px;
	cursor:pointer;
	background:url(../images/res.svg);
	background-position: -0px -300px;
}
#centerframe .operatePage .delePage:hover {
	background-position: -100px -300px;
}
.backImg {
	position:absolute;
	width:296px;
	height:466px;
}
.selectedStyle {
    border:2px dashed blue;
}
.elements {
    position:absolute;
    width:100%;
    height:100%;
}
#rightFrame {
	height:100%;
	padding:0px;
	position:relative;
}
#rightFrame .bgControl {
    position:absolute;
    right:0px;
	width:300px;
	height:100%;
    background:rgb(230,230,230);
}
#rightFrame .bgControl .title {
	width:100%;
	height:50px;
	text-align:center;
	line-height:50px;
	font-size:20px;
    background:#d6d6d6;
    cursor:pointer;
}
#rightFrame .bgControl .titleSelected {
    background:rgb(230,230,230);
}
#rightFrame .bgControl .content {
	position:absolute;
	top:50px;
	width:100%;
	height:95%;
}
#rightFrame .bgControl .content .editPanel {
	width:100%;
	overflow:hidden;
	padding:10px;
}
#rightFrame .bgControl .content .editPanel .textarea{
	height:180px;
	border:1px solid rgb(230,230,230);
	background:#FFF;padding:10px
}
#rightFrame .bgControl .content .editPanel div {
    padding:0px;
}
#rightFrame .bgControl .content .editPanel > div {
    margin-top:10px;
}
#rightFrame .bgControl .content .editPanel  .backimgWrap {
	width:150px;
	height:235px;
	border:2px dashed;
}
#rightFrame .bgControl .content .editPanel  .backimgWrap img {
	width:100%;
	height:100%
}
#rightFrame .bgControl .content .editPanel  .eleimgWrap {
	width:150px;
	border:2px dashed;
}
#rightFrame .bgControl .content .editPanel  .eleimgWrap img {
	width:100%;
}
#rightFrame .bgControl .content .editPanel label {
	padding:0px;
}
#rightFrame .bgControl .content .editPanel input {
	height:24px;
}
#rightFrame .bgControl .content .editPanel select {
   width:100%;
}
#rightFrame .bgControl .content .editPanel textarea {
	width:100%;
	height:100px;
	display:block;
}
#rightFrame .bgControl .content .editPanel .fontStyle {
	width:40px;
	text-align:center;
	margin-right:10px;
	background:#FFF;
	border:1px solid rgb(230,230,230);
	cursor:pointer;
}
#rightFrame .bgControl .content .editPanel .fontStyleSelected {
	background:rgb(68,195,181);
    color:#FFF;
}
#rightFrame .bgControl .content .editPanel .textAlign {
    text-align:center;
    border:1px solid grey;
    background:#FFF;
    margin-right:10px;
    cursor:pointer;
}
#rightFrame .bgControl .content .editPanel .textAlignSelected {
    background:rgb(68,195,181);
    color:#FFF;
}
#rightFrame .bgControl .content .editPanel .InputColorContent {
    padding:2px;
    background:#FFF
}
#rightFrame .bgControl .content .editPanel .InputColor {
    position:relative;
    cursor:pointer;
    height:22px;
}
#rightFrame .bgControl .content .editPanel .colorPicker {
    position:absolute;
    left:0px;
    top:0px;
    padding:5px;
    border-radius:10px;
    background:#FFF;
    overflow:hidden;
    cursor:pointer;
    display:none;
    z-index:100000;
}
#rightFrame .bgControl .content .editPanel .showColorPicker {
    display:block;
}
#rightFrame .bgControl .content .editPanel .colorPicker > div {
    width:200px;
}
#rightFrame .bgControl .content .editPanel .colorPicker > div > div {
    width:20px;
    height:20px;
    border:1px solid rgb(230,230,230);
    margin-right:2px;
    float:left;
}
#rightFrame .bgControl .content .editPanel .actionsView {
    height:60px;
    background:#FFF;
    line-height:60px;
    text-align:center;
    cursor:pointer;
}
#rightFrame .bgControl .content .editPanel .actionsView:hover {
    background:yellowgreen;
    color:#FFF;
}
#rightFrame .bgControl .content .editPanel .actionsViewSelected {
    background:yellowgreen;
    color:#FFF;
}
.sliderContent {
    position:relative;
    height:10px;
    margin-top:5px; 
}
.sliderContent .line {
   position:absolute;
   top:0px;
   width:20px;
   height:10px;
   background:#c5c5c5;
   border-radius:20px;
}
.sliderContent .slider {
   margin-top:4px;
   background:#FFF;
   height:1px;
}

#pictureStore {
   position:fixed;
   left:50%;
   top:50px;
   margin-left:-300px;
   width:600px;
   height:450px;
   border:2px solid rgb(212,212,212);
   border-radius:20px;
   z-index:999;
   background:#FFF;
}
#pictureStore .top {
   height:40px;
   border-bottom:2px solid rgb(242,242,242);
}
#pictureStore .center {
   height:370px;
   border-bottom:2px solid rgb(242,242,242);
}
#pictureStore .center .cleft {
   height:100%;
   background:rgb(242,242,242);
}
#pictureStore .center .cright {
   height:100%;
   overflow-y:scroll;
   padding:0px;
}
#pictureStore .center .cright .pic {
   width:90px;
   height:90px;
   float:left;
   border:2px solid rgb(242,242,242);
   margin-left:12px;
   margin-top:10px;
   overflow:hidden;
   cursor:pointer;
}
#pictureStore .center .cright .picActive {
   border:3px solid rgba(57,187,170,1);
}
#pictureStore .center .cright .pic:hover {
   border:3px solid rgba(57,187,170,1);
}
#pictureStore .center .cright .pic .addImg {
   text-align:center;
   margin-top:5px;
   font-size:30px;
   color:rgb(128,128,128);
}
#pictureStore .center .cright .pic .addFont {
   text-align:center;
   font-size:16px;
   color:rgb(128,128,128);
}
#pictureStore .center .cright .pic .imgWrap {
	margin:10px 0;
	height:40px;
}
#pictureStore .center .cright .pic img {
   margin:0 auto;	
   display:block;
}
#pictureStore .center .cright .pic .imgName {
   text-align:center;
   overflow:hidden;
   white-space:nowrap;
   text-overflow:ellipsis;
   -o-text-overflow:ellipsis;
}
#pictureStore .center .cright .pic .imgWidth {
   width:70px;
}
#pictureStore .center .cright .pic .imgHeight {
   height:40px;
}
#pictureStore .bottom {
   height:40px;
   padding-top:3px;
   padding-left:15px;
}
